//
//  JKCommonProtocol.swift
//  ZhiHuDaily-Swift
//
//  Created by albert on 2018/3/7.
//  Copyright © 2018年 安永博. All rights reserved.
//

import UIKit

@objc
protocol JKUpdateSkinProtocol: NSObjectProtocol {
    
    /** 更新皮肤 */
    @objc optional func updateSkin()
}


protocol JKStoryListReadProtocol: NSObjectProtocol {
    
    /** 刷新已读 */
    func reloadReadStoryWith(indexPath: IndexPath?)
}

struct JKBaseError: LocalizedError {
    
    var desc = "0.0"
    
    var errorDescription: String? {
        
        return desc
    }
    
    init(desc: String) {
        
        self.desc = desc
    }
}
